<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>用户登录_<?=SITE_NAME?>_<?=$scfg['base']['title']?></title>
<meta name="keywords" content="<?=$scfg['base']['keywords']?>" />
<meta name="description" content="<?=$scfg['base']['description']?>" />
<script type="text/javascript">
try{document.domain="<?=SITE_DOMAIN?>";}catch (e){};
var __scfg__ = {
	staticUrl:"<?=surl::get("static");?>",
	thisPage:"register"
};
</script>
<script type="text/javascript" src="<?=surl::get("static");?>www.js"></script>
</head>
<body>
<? tpl::import('header.base.tpl.php');?>
<div id="Content">
  <div id="LoginDiv">
   <form id="LoginForm" name="LoginForm" method="post" action="<?=surl::get('urs')?>login.php" onsubmit="return XypForm(this);">
   	
  	<div class="login">
		<div class="div1">   
			<label for="urs">帐号:</label>
			<input name="urs" require="1" minlen="4" maxlen="20" dataType="cnaznum" msg="帐号不能小于4或大于20字符！" type="text" class="xyp-form-field xyp-form-text" id="urs" size="15" maxlength="32" tabindex="1" />
			<a href="<?=surl::get('www')?>register.php">免費注冊!</a>
		</div>
		<div class="div1">
			<label for="pwd">密码:</label>
			<input name="pwd" require="1" minlen="6" maxlen="16" type="password" class="xyp-form-field xyp-form-text ime" id="pwd" size="15" maxlength="32" tabindex="2" />
			<a href="<?=surl::get('www')?>forgetPasswd.php">忘記密碼?</a>
		</div>
		<div class="div1">
			<input class="bg_btn_blue" type="submit" value="登錄" tabindex="2" /> 
			<input name="act" type="hidden" id="act" value="login" />
			<input name="ourl" type="hidden" id="ourl" value="<?=$ourl?>" />
			<input name="eurl" type="hidden" id="eurl" value="<?=surl::get()?>" />
		</div>
    </div>
	</form>
  </div>
  <div id="RegisterForm">
    <p><img height="32" alt="超人气商品" src="<?=surl::get("static");?>imgs/icon_login_01.gif" width="32" /><b>便宜有好货！</b>千万件商品任您选。</p>
    <p><img height="32" alt="超安全付款" src="<?=surl::get("static");?>imgs/icon_login_02.gif" width="32" /><b>买卖更安心！</b>網路購物超安全。</p>
    <p><img height="32" alt="超现实诱惑" src="<?=surl::get("static");?>imgs/icon_login_03.gif" width="32" /><b>免费开网店！</b>轻松赚钱誠交網路好友。</p>
    <p><img height="32" alt="超精彩社区" src="<?=surl::get("static");?>imgs/icon_login_04.gif" width="32" /><b>超人气社区！</b>精彩活动每一天。</p>
    <div id="Register">
      <p><a href="<?=surl::get('www')?>register.php"><img height="34" src="<?=surl::get("static");?>imgs/register_submit002.gif" width="157" border="0" /></a></p>
    </div>
  </div>
</div>
<script type="text/javascript">
if(urs.urs)
{
	_.e('urs').value=urs.urs;
	_.e('pwd').focus();
}else
{
	_.e('urs').focus();
}

if(typeof XypForm == "undefined")
{
	include.js(__scfg__.staticUrl+"xypfrom/xypfrom.js");
	include.css(__scfg__.staticUrl+"xypfrom/xypfrom.css");
}
</script>
<!--Main End-->
<? tpl::import('foot.tpl.php');?>
</body>
</html>
